package net.lab1024.smartadmin.module.weapp.message;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.lab1024.smartadmin.module.system.department.domain.entity.DepartmentEntity;
import net.lab1024.smartadmin.module.weapp.message.domain.entity.MessageEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * t_message dao接口
 *
 * @author wuqian
 * @date 2021/03/16 10:58
 */
@Component
@Mapper
public interface MessageDao extends BaseMapper<MessageEntity> {

    /**
     * 获取待执行 任务列表
     * @param type
     * @return
     */
    List<MessageEntity> selectWaitTask(@Param("type") Integer type);
}
